function setFullScreenBanner(boxElement,imageHeight,dotDiam,timeSpan,dotActiveImage,dotNormalImage){
    $(boxElement).css({"position":"relative","height":imageHeight+"px","overflow":"hidden"});
    var a=$(boxElement).find("a");
    a.css({"position":"absolute","z-index":"0","left":"0","top":"0","display":"block","width":"100%","height":imageHeight+"px","background-position":"center center","background-repeat":"no-repeat"});
    a.eq(0).css("z-index","1");
    var dotDiv=$(boxElement).find("div");
    dotDiv.css({"position":"absolute","z-index":"2","left":"0","top":(imageHeight-dotDiam-10)+"px","width":"100%","height":dotDiam+"px","text-align":"center"});
    var length=a.length;
    var current=0;
    for(var i=0;i<length;i++){
        if(i==0){
            var src=dotActiveImage;
        }
        else{
            var src=dotNormalImage;
        }
        dotDiv.append("<a href='javascript:void(0);' style='margin:0 5px;'><img src='"+src+"' width='"+dotDiam+"' height='"+dotDiam+"'/></a>");
    }
    function setActiveByIndex(i){
        a.each(function(index){
            if(i==index){
                $(this).css("z-index","1");
                dotDiv.find("img").eq(index).attr("src",dotActiveImage);
            }
            else{
                $(this).css("z-index","0");
                dotDiv.find("img").eq(index).attr("src",dotNormalImage);
            }
        });
    }
    function play(){
        current++;
        if(current==length){
            current=0;
        }
        setActiveByIndex(current);
    }
    dotDiv.find("a").each(function(index){
        $(this).click(function(){
            current=index;
            setActiveByIndex(current);
            window.clearInterval(hander);
            hander=window.setInterval(play,timeSpan);
        });
    });
    a.hover(
        function(){
            window.clearInterval(hander);
        },
        function(){
            hander=window.setInterval(play,timeSpan);
        }
    );
    var hander=window.setInterval(play,timeSpan);
}
